package br.com.softclinica.utils;

import java.text.ParseException;

import javax.swing.text.MaskFormatter;

public class Mascara {
	
	MaskFormatter mData;
	MaskFormatter mTelefone;
	MaskFormatter mCPF;
	
	public Mascara(){
		try {
			mData = new MaskFormatter("##/##/####");
			mTelefone = new MaskFormatter("(##)####-####");
			mCPF = new MaskFormatter ("###.###.###-##");
		} catch (ParseException e) {
			e.printStackTrace();
		}		
	}
	
	public MaskFormatter getmData() {
		return mData;
	}
	public MaskFormatter getmTelefone() {
		return mTelefone;
	}

	public MaskFormatter getmCPF() {
		return mCPF;
	}
	
	

}
